﻿using ConsoleApp13;

Log4NetHelper.Init("log4net.config");


Log4NetHelper.Warn("这是一个警告日志");
try
{
	int a = int.Parse("abc");
}
catch (Exception ex)
{
	Log4NetHelper.Error(ex.Message+"\r\n"+ex.StackTrace);
}

Console.WriteLine("finish");